package com.goods.business.service;

import com.goods.common.vo.business.SupplierVO;
import com.goods.common.vo.system.PageVO;

import java.util.List;

/**
 * @author Decheng Kong
 * @date 2021/11/8 17:47
 */
public interface SupplierService {
    PageVO<SupplierVO> findSupplierList(Integer pageNum, Integer pageSize, String name, String address, String contact);

    void addSupplier(SupplierVO supplierVO);

    SupplierVO getSupplierById(Integer id);

    void updateSupplier(SupplierVO supplierVO);

    void deleteSupplier(Integer id);

    List<SupplierVO> findSupplierList();

}
